package com.binhthuan.catechist.server.bus;

import java.util.List;

import com.binhthuan.catechist.server.domain.Parent;

public class ParentBUS extends AbstractBUS {
    public List<Parent> getAllParents(int start, int limit, String sortBy, boolean sortASC) {
        return getAll(Parent.class, start, limit, sortBy, sortASC);
    }

    public Parent getParentById(int id) {
        return get(Parent.class, id);
    }

    public boolean deleteParent(int id) {
        return delete(Parent.class, id);
    }
}
